<!DOCTYPE html>
<html lang="zh-cn">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>某管理系统</title>
  <!-- 新 Bootstrap 核心 CSS 文件 -->
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

  <!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
  <style>
    body {
      padding-top: 50px;
    }
    /*侧栏*/
    .sidebar {
      background-color: #DDDDDD;
      position: fixed;
      left: 0px;
      top: 50px;
      bottom: 0px;
      padding: 20px 0 0 0;
    }

    .nav-sidebar>.active>a,
    .nav-sidebar>.active>a:hover,
    .nav-sidebar>.active>a:focus {
      color: #fff;
      background-color: #428bca;
    }

    .btn_group {
      margin-bottom: 10px;
    }

    .myprogress {
      margin-top: 20px;
    }

    .myprogress span {
      font-size: 12px;
    }

    .myprogress>.progress {
      margin-top: 10px;
    }

    /*响应式设计*/
    @media (max-width: 768px) {
      .sidebar {
        position: static;
      }
      .sidebar .nav-divider {
      	margin: 0;
      }
    }
  </style>

</head>

<body>
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
        <a class="navbar-brand" href="#">某管理系统</a>
      </div>
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
          <li><a href="#">首页</a></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            功能
                            <span class="caret"></span>
                        </a>
            <ul class="dropdown-menu">
              <li class="dropdown-header">业务功能</li>
              <li><a href="#">信息建立</a></li>
              <li><a href="#">信息查询</a></li>
              <li><a href="#">信息管理</a></li>
              <li class="divider"></li>
              <li class="dropdown-header">系统功能</li>
              <li><a href="#">设置</a></li>
            </ul>
          </li>
          <li><a href="#">帮助</a></li>
        </ul>
        <form class="navbar-form navbar-right">
          <div class="form-group">
            <input type="text" class="form-control" placeholder="用户名...">
            <input type="password" class="form-control" placeholder="密码...">
          </div>
          <button type="submit" class="btn btn-default">登录</button>
        </form>
      </div>
    </div>
  </nav>

  <div class="container-fluid">
    <div class="row">
      <div class="col-md-2 sidebar">
        <ul class="nav nav-sidebar">
          <li class="active"><a href="#">首页</a></li>
          <li class="nav-divider"></li>
          <li><a href="#">信息建立</a></li>
          <li><a href="#">信息查询</a></li>
          <li><a href="#">信息管理</a></li>
          <li class="nav-divider"></li>
          <li><a href="#">设置</a></li>
          <li><a href="#">帮助</a></li>
        </ul>
      </div>

      <div class="col-md-offset-2 col-md-10">
        <div class="page-header">
          <h1>管理控制台 <small>管理员(用户类型)</small></h1>
        </div>
        <div class="btn_group">
          <button type="button" class="btn btn-lg btn-default">操作1</button>
          <button type="button" class="btn btn-lg btn-primary">操作2</button>
          <button type="button" class="btn btn-lg btn-success">操作3</button>
          <button type="button" class="btn btn-lg btn-info">操作4</button>
          <button type="button" class="btn btn-lg btn-warning">操作5</button>
          <button type="button" class="btn btn-lg btn-danger">操作6</button>
        </div>
        <div class="row">
          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">最新提醒</div>
              <div class="panel-body">
                <div class="alert alert-success"><strong>提示</strong> 您的订单（2014001）已经审批通过！</div>
                <div class="alert alert-danger"><strong>提示</strong> 您的订单（2014002）被打回！</div>
                <div class="alert alert-warning"><strong>提示</strong> 您的订单（2013001）客户付款延迟！</div>
              </div>
            </div>
          </div>
          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">我的任务</div>
              <div class="panel-body">
                <div class="alert alert-info">
                  订单批审
                  <span class="badge pull-right">42</span>
                </div>
                <div class="alert alert-info">
                  收款确认
                  <span class="badge pull-right">20</span>
                </div>
                <div class="alert alert-info">
                  付款确认
                  <span class="badge pull-right">10</span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!--下边的两列-->
        <div class="row">
          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">
                最新订单
              </div>
              <div class="panel-body table-responsive">
                <table class="table table-striped">
                  <thead>
                    <tr>
                      <td>#</td>
                      <td>产品</td>
                      <td>数量</td>
                      <td>总金额</td>
                      <td>业务员</td>
                    </tr>
                  </thead>
                  <tbody>
                    <tr>
                      <td>1</td>
                      <td>Apple Macbook air</td>
                      <td>10</td>
                      <td>80000</td>
                      <td>王削减</td>
                    </tr>
                    <tr>
                      <td>2</td>
                      <td>Apple iPad air</td>
                      <td>20</td>
                      <td>65000</td>
                      <td>以开花</td>
                    </tr>
                    <tr>
                      <td>3</td>
                      <td>Apple Macbook pro</td>
                      <td>5</td>
                      <td>50000</td>
                      <td>刘老根</td>
                    </tr>
                  </tbody>
                </table>
                <button class="btn btn-primary">查看详情>></button>
              </div>
            </div>
          </div>

          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">
                工程进度
              </div>
              <div class="panel-body">
                <div class="myprogress">
                  <span class="label label-primary">水井挖掘工程</span>
                  <div class="progress">
                    <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                      60%
                    </div>
                  </div>
                </div>
                <div class="myprogress">
                  <span class="label label-danger">基建工程</span>
                  <div class="progress">
                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                      <span class="sr-only">80% Complete (danger)</span>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- end of row-->
  </div>


  <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
  <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
  <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</body>

</html>
